﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Entity;

namespace BO
{
    public class OutProductListOnBusiness
    {
        #region code CMS

        public static int InsertOutProductListOn(OutProductListOn OutProductListOn)
        {
            var result = FreshCmsDataAccessProvider.OutProductListOn.InsertOutProductListOn(OutProductListOn);
            return result;
        }

        public static int DeleteOutProductListOnByProId(int proId)
        {
            var result = FreshCmsDataAccessProvider.OutProductListOn.DeleteOutProductListOn(proId);
            return result;
        }

        public static List<OutProductListOn> GetOutProductListOnByProId(int proId)
        {
            var result = FreshCmsDataAccessProvider.OutProductListOn.GetOutProductListOnListByProId(proId);
            return result;
        }

        #endregion
    }
}
